<?php


$arr=include_once './db.php';
$colora=array('alert alert-info','alert alert-danger','alert alert-warning','alert alert-success');

//var_dump($colora[$sj]);

//var_dump($arr);
$arrlen=count($arr);
$n=5;
$num=ceil($arrlen/$n);
//var_dump($arrlen);
//var_dump($num);
if(isset($_GET['p'])){
    $page=$_GET['p'];
}else{
    $page=1;
}
$arr=array_slice($arr,($page-1)*$n,$n,true);
session_start();
include_once './config.php';
include_once './mas/index.html';

?>